package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.DeviceCotPriceDao;
import top.infopub.model.bpa.DeviceCotPrice;
import top.infopub.mgr.bpa.service.DeviceCotPriceService;
import top.infopub.mgr.bpa.vo.DeviceCotPriceVo;

@Service
public class DeviceCotPriceServiceImpl extends GenericServiceImpl<DeviceCotPrice, String> implements
		DeviceCotPriceService {

	@Autowired
	private DeviceCotPriceDao deviceCotPriceDao;
	
	@Override
	public GenericDao<DeviceCotPrice, String> getDao() {
		return deviceCotPriceDao;
	}

    @Override
    public List<DeviceCotPriceVo> selectByDeviceCotId(String deviceCotId) {
        return deviceCotPriceDao.selectByDeviceCotIds(deviceCotId);
    }

}